﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Mail.Master" Inherits="System.Web.Mvc.ViewPage<Core.DAL.tSite_Photos_Album>" %>

<asp:Content runat="server" ID="cTitle" ContentPlaceHolderID="cphTitle">
     <% this.Page.Title = Model.Title; %>
</asp:Content>

<asp:Content runat="server" ID="cHeaderTitle" ContentPlaceHolderID="cphHeaderTitle">
    <img src="/Design/Images/MailImages/news.jpg" alt="" />
</asp:Content>

<asp:Content runat="server" ID="cHeaderLogo" ContentPlaceHolderID="cphHeaderLogo">
    <a href="/?utm_source=mail&amp;utm_medium=Logo&amp;utm_campaign=<%= ViewData["CampaignName"] %>" target="_blank">
        <img src="/Design/Images/MailImages/mailLogo.jpg" border="0" alt="<%= ViewData["SiteName"] %>" width="151" height="132" />
    </a>
</asp:Content>

<asp:Content runat="server" ID="cMainContent" ContentPlaceHolderID="cphMainContent">
    <table cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style="padding-right:10px; text-align:center" valign="top" width="120">
                <a href="/<%= Model.SystemName.UppercaseFirst() %>/Album/Index/<%= Model.ID %>/<%= Model.Title.ParseUrl() %>?utm_source=mail&amp;utm_medium=Album%20Thumbnail&amp;utm_campaign=<%= ViewData["CampaignName"] %>"><img src="/Album/MailImageResize/<%= Model.Title.ParseUrl() %>/<%= Model.DefaultImage.ToString() %>.jpg" alt="<%= Model.Title %>" border="0" style="border:2px solid #fff" /></a>
            </td>
            <td valign="top">
                <p style="padding:0; margin:0px"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" style="font-size:11px">Bonjour <%= ViewData["UserLogin"].ToString().UppercaseFirst() %></font></p>
                <p><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" style="font-size:11px"><%= ViewData["MailContent"] %></font></p>
            </td>
        </tr>
    </table>
                                        
    <p><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" style="font-size:11px">Nos amiti&eacute;s scoutes, le staff <%= ViewData["SectionName"] %>.</font></p>
</asp:Content>

<asp:Content runat="server" ID="cImageStat" ContentPlaceHolderID="cphImageStat">
    <img src="/Global/MailsStats/<%= ViewData["MailID"] %>/<%= ViewData["UserID"] %>.gif" height="1" width="1" alt="" />
</asp:Content>

<asp:Content runat="server" ID="cFooter" ContentPlaceHolderID="cphFooter">
    <font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" style="font-size:10px">
        <a href="/?utm_source=mail&amp;utm_medium=Footer%20Link&amp;utm_campaign=<%= ViewData["CampaignName"] %>" style="color:#000000; text-decoration:none">&copy; <%= ViewData["SiteName"]%> <%= ViewData["CopyrightDate"] %></a>
    </font>
</asp:Content>                                